Gantry\Component\Menu\AbstractMenu C

Total Complexity 123
Dependencies 5
Dependents 2
Total lines 683
Lines of code 343
Logical lines of code 221
Comment lines 189
Methods 34
Properties 13

Methods 34

Method Rating Maintainability Complexity Lines of code
sortAll()
C
41 26 50
embedOrderingRecurse()
A
47 12 36
instance()
A
45 11 41
addCustom()
A
46 11 35
ordering()
A
55 8 18
flattenOrderingRecurse()
S
55 5 19
add()
S
57 5 17
prepareMenuItems()
S
59 4 14
config()
S
56 3 18
isActive()
S
67 4 7
get()
S
64 3 11
isCurrent()
S
68 3 7
items()
S
65 3 9
setGroupToChildren()
S
66 3 9
getCacheId()
S
80 2 3
fixOrdering()
S
71 2 6
init()
S
74 1 4
calcBase()
S
100 1 0
getList()
S
100 1 0
getItemsFromPlatform()
S
100 1 0
flattenOrdering()
S
70 1 6
getActive()
S
80 1 3
getDefault()
S
80 1 3
getBase()
S
80 1 3
settings()
S
80 1 3
root()
S
80 1 3
name()
S
80 1 3
hasActiveMenu()
S
82 1 3
getActiveMenuName()
S
82 1 3
hasDefaultMenu()
S
82 1 3
getDefaultMenuName()
S
82 1 3
getMenuOptions()
S
100 1 0
getMenus()
S
100 1 0
isAssoc()
S
79 1 3